package com.baizhi.service;

import com.baizhi.Phone;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface PhoneService {
    PageInfo<Phone> selectPage(int pageIndex, int pageSize);
    boolean addPhone(Phone p);
    boolean deletePhone(int id);
    Phone select(int id);
    boolean update(Phone p,int id);
    void deleteAll(List<Integer> ids);
}
